package com.example.dao.usercoupon;

import com.example.pojo.Usercouponused;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface UserCouponUsedDao {
    List<Usercouponused> getUserCouponUseByUserId(int uid);
    boolean giveCoupons(@Param("uid") int uid,@Param("coupons") int[] coupons);
}
